package com.endurance.config;

import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.sql.Connection;


@Configuration
@EnableAspectJAutoProxy
@ComponentScan("com.endurance")
@PropertySource("classpath:db.properties")
// 导入一个或者多个组件类
@Import(DBConfig.class)
// 开启事务注解扫描
@EnableTransactionManagement
public class SpringConfig {


}
